PORJECT := one_card
SRCS := $(wildcard *.c)

CFLAGS := -O2 -Wall

all: 
	gcc -o $(PORJECT) $(CFLAGS) one_card.c player.c board.c cli.c card.c round.c args.c log.c

gui:
	gcc `pkg-config --cflags gtk+-3.0` -o $(PORJECT) $(CFLAGS) -DUSE_GUI $(SRCS) `pkg-config --libs gtk+-3.0`
